/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package hu.home.leva.db;

import java.util.List;

/**
 *
 * @author leva
 */
public interface IManager {
    
    
    List<Entity> getAll();
    Entity getById(int byid);
    void saveAll(List<Entity> entities);
    void save(Entity entity);
    void delete(Entity entity);
    void deleteAll(List<Entity> entities);
      
}
